package cn.com.zero.common.auth.security.po;

import cn.com.zero.base.po.BasePO;

/**
 * @author xiongxj
 * @version 1.0.0
 * @Description 错误登录日志PO类，用户名不存在或者密码错误的错误登录
 * @createTime 2023/3/27 14:50
 */
public class ErrorLoginLogPO extends BasePO {
    private static final long serialVersionUID = 5921674587064801764L;
    /**
     * 用户编号
     */
    private String userId;

    /**
     * 登录设备
     */
    private String loginDevice;

    /**
     * 登录IP
     */
    private String loginIp;

    /**
     * 备注信息
     */
    private String remark;

    /**
     * 构造函数
     */
    public ErrorLoginLogPO() {
    }

    /**
     * 构造函数
     *
     * @param userId      用户ID
     * @param loginDevice 登录设备
     * @param loginIp     登录IP
     */
    public ErrorLoginLogPO(String userId, String loginDevice, String loginIp) {
        this.userId = userId;
        this.loginDevice = loginDevice;
        this.loginIp = loginIp;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLoginDevice() {
        return loginDevice;
    }

    public void setLoginDevice(String loginDevice) {
        this.loginDevice = loginDevice;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
